package org.darkforest.dao.mapper;

import org.darkforest.dao.annotation.DBMapper;
import org.darkforest.model.GoodsRecommend;

import java.util.List;

@DBMapper
public interface GoodsRecommendMapper {
    int deleteByPrimaryKey(Integer recommendId);

    int insert(GoodsRecommend record);

    int insertSelective(GoodsRecommend record);

    GoodsRecommend selectByPrimaryKey(Integer recommendId);

    int updateByPrimaryKeySelective(GoodsRecommend record);

    int updateByPrimaryKeyWithBLOBs(GoodsRecommend record);

    int updateByPrimaryKey(GoodsRecommend record);

    List<GoodsRecommend> findListByCondition(GoodsRecommend record);
}